package com.fancy.middleware.netty.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = NettyProperties.MIDDLEWARE_NETTY_PREFIX)
public class NettyProperties {

    public static final String MIDDLEWARE_NETTY_PREFIX = "middleware.netty";

    private Integer port;

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
